package cn.cloudtogo.support.mysql.column;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author yaolianhua789@gmail.com
 **/
@Data
public class ColumnDefinition {

    private String name;

    private boolean primaryKey;

    private boolean autoIncrement;

    private boolean uniqueIndex;

    private Types types;

    private boolean notNull;
    @JsonProperty("default")
    private String defaultValue;

    private String comment = "";
}
